package cn.wangzg.course0602;

public class Article {
    private int id;                 //收藏时需要使用
    private String title;           //标题
    private String shareUser;       //分享人
    private String superChapterName;//超级分类
    private String chapterName;     //分类
    private String niceDate;        //日期
    private String link;            //链接
    private boolean collect;        //收藏
    //alt+insert

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getShareUser() {
        return shareUser;
    }

    public void setShareUser(String shareUser) {
        this.shareUser = shareUser;
    }

    public String getSuperChapterName() {
        return superChapterName;
    }

    public void setSuperChapterName(String superChapterName) {
        this.superChapterName = superChapterName;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public String getNiceDate() {
        return niceDate;
    }

    public void setNiceDate(String niceDate) {
        this.niceDate = niceDate;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public boolean isCollect() {
        return collect;
    }

    public void setCollect(boolean collect) {
        this.collect = collect;
    }

    @Override
    public String toString() {
        return "Article{" +
                "title='" + title + '\'' +
                ", shareUser='" + shareUser + '\'' +
                ", superChapterName='" + superChapterName + '\'' +
                ", chapterName='" + chapterName + '\'' +
                ", niceDate='" + niceDate + '\'' +
                ", link='" + link + '\'' +
                '}';
    }
}
